#!/usr/bin/env pytho
# -*- coding: utf-8 -*-

# print('hello  Python!')

# for  i in range(10):
#     print(i)

# a = 10
# while a > 5:
#     print(a)
#     print('gt 5')
#     a -= 1
#
# for i in [1,"list",5,2]:
#     print(i)


# a = [1, 100, 200, 22, 44, 55, 200, 34, 56, 43, 0, -1, 36]
# i = sorted(a)
# print(i)

# i = [1, 100, 200, 22, 44, 55, 200, 34, 56, 43, 0, -1, 36]
# i.sort()            #此函数方法对列表内容进行正向排序，排序后的新列表会覆盖原列表
# print(i)


user_name = "admin"
password = "admin"

in_put = input('''1:login，0:exit''')
if in_put == '1':
    name = input('请输入姓名： ')
    passwd1 = input('请输入密码： ')
    if user_name == name and password == passwd1:
        print('登录成功')
    else:
        print('账号或者密码错误了！')
elif in_put == '0':
    print('退出成功!')
